package io.adrainty.bolee.insurance.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * <p>PlanSafeguardEntity</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 保险方案保障项
 * @since 2025/8/12 11:01:39
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "保险方案保障项")
@TableName("tab_plan_safeguard")
public class PlanSafeguardBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = -3750934590669904536L;

    @Schema(description = "保险方案ID")
    private Long planId;

    @Schema(description = "保障项key：mzyl")
    private String safeguardKey;

    @Schema(description = "保障项名称：门诊医疗")
    private String safeguardKeyName;

    @Schema(description = "保障项值")
    private String safeguardValue;

    @Schema(description = "保障项别名：一般门诊费用")
    private String safeguardAsName;

    @Schema(description = "保障类型（0保障规则 1 保障信息）")
    private String safeguardType;

    @Schema(description = "显示位置：0 列表页 1 详情页")
    private String position;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;

}
